Q3Param2D_AffineComb
You can use theQ3Param2D_AffineComb
function to determine the two-dimensional parametric point that is the affine combination of an array of parametric points.
TQ3Param2D *Q3Param2D_AffineComb ( const TQ3Param2D *params2D, const float *weights, unsigned long nPoints, TQ3Param2D *result);
params2D
- A pointer to an array of two-dimensional parametric points.
weights
- A pointer to an array of weights. The sum of the weights must be 1.0.
nPoints
- The number of points in the
params2D
array.result
- On exit, the parametric point that is the affine combination of the parametric points in
params2D
having the weights in theweights
array.DESCRIPTION
TheQ3Param2D_AffineComb
function returns, as its function result and in theresult
parameter, the parametric point that is the affine combination of the parametric points in the arrayparams2D
having the weights in the arrayweights
.